package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.channel.dtos.ChannelDto;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmchannelDto;
import com.heima.model.wemedia.pojos.WmChannel;

/**
 * @author rookie001
 * @creat 2023-06-07-20:14
 */
public interface WmchannelService  extends IService<WmChannel>{
    //查询全部频道
    ResponseResult findAll();
    //频道名称模糊分页查询
    ResponseResult listChannel(ChannelDto dto);
    //频道更改
    ResponseResult updateCha(WmchannelDto dto);
    //频道修改
    ResponseResult saveCha(WmchannelDto dto);
    //删除频道
    ResponseResult delCha(WmchannelDto dto);
}
